package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.GoodsValuesFragmentContract;
import com.zjc.yohoshop.mvp.model.GoodsValuesFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class GoodsValuesFragmentModules {

    private GoodsValuesFragmentContract.GoodsValuesFragmentIView iView;

    public GoodsValuesFragmentModules(GoodsValuesFragmentContract.GoodsValuesFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public GoodsValuesFragmentContract.GoodsValuesFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public GoodsValuesFragmentContract.GoodsValuesFragmentIModel providerIModel(){
        return new GoodsValuesFragmentModel();
    }
}
